package com.cxl.service;

import com.cxl.entity.*;

import java.util.List;

public interface CourseService {
    User findByUser(User user);

    void upenddate(Integer uid);

    List<Course> findByCourseList();

    void upCheck(Course course);

    Course findByCourseID(Integer cid);

    void upState(Course course);

    List<CourseType> findByTypes();

    Integer findByCname(String cname);

    Course add(Course course);

    void addVideo(Course course);

    Integer findByApply(Integer cid, Integer uid);

    Integer findByComment(Integer cid);

    Integer findByComment1(Integer cid);

    Integer findByComment2(Integer cid);

    List<Remark> findByRemark(Integer cid);

    List<Remark> findByRemark1(Integer cid);

    List<Remark> findByRemark2(Integer cid);

    void addCom(Remark remark);
}
